extends ../../layout

block style
  style
    | #curVideo {width: 100%; transform: scaleX(-1);}
    | #playVideo {width: 100%; height: 300px; background-color:black;}
block prevScript
  script(src="/javascripts/comm/vconsole.min.js")
  script
    | var vConsole = new VConsole()

block content
  include ../documentPath.pug
  video#curVideo(autoplay)
  div
    button#start 开始
    button#end 停止
    button#pause 暂停
    button#resume 恢复
  video#playVideo(autoplay, controls)
  script(src="/javascripts/webapi/mediaStreamRecording/index.js")